package com.api.syh56.shengyunhui.entity.common;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("api_area_db")
public class ApiAreaDb {

    @Column(name = "id",isKey = true,isAutoIncrement = true,comment = "地址id")
    Long id;
   /**
     * 区域编码  街道没有独有的adCode，均继承父类（区县）的adCode
     */

    @Column(name = "ad_code",comment = "区域编码  街道没有独有的adCode，均继承父类（区县）的adCode")
    private String adCode;

    /**
     * 父级id
     */
    @Column(name = "parent_code", comment = "父级id")
    private String parentCode;

    /**
     * 名称
     */
    @Column(name = "name", comment = "名称")
    private String name;

    /**
     * 城市编码
     */
    @Column(name = "city_code", comment = "城市编码")
    private String cityCode;

    /**
     * 等级  国家 省 市 区/县
     */
    @Column(name = "level", comment = "等级  国家 省 市 区/县")
    private String level;


    /**
     * 经度，纬度
     */
    @Column(name = "center", comment = "经度，纬度")
    private String center;

}
